<?php
session_start(); 
define('ACC', true);
require('../include/init.php');


$code = new CodeTool();  //实例化一个对象
$code->doimg();  
$_SESSION['authnum_session'] = $code->getCode();//验证码保存到SESSION中
